<?php
$member['market'] = "";
if($this->vars['market_show_money'] || $this->member['mgroup'] == $this->vars['admin_group'])
{
	$member['market'] .= $this->vars['market_currency'].": ".$this->vars['market_prefix'].$this->do_number_format($member[$this->vars['market_members_field']]).$this->vars['market_suffix'];
}
if(($this->vars['market_show_inventory'] || $this->member['mgroup'] == $this->vars['admin_group']))
{
	if($member['market'])
	{
		$member['market'] .= "<br />";
	}
	if(!isset($this->lang['show_inventory']))
	{
		$this->load_language('lang_market');
	}
	if($this->vars['pp_show_classic'])
	{
		$member['market'] .= "<a href='".$this->base_url."autocom=market&amp;CODE=member&amp;mid=".$member['id']."'>".$this->lang['show_inventory']."</a>";
	}
	else
	{
		$member['market'] .= "<a href='".$this->base_url."showuser=".$member['id']."&amp;tab=market'>".$this->lang['show_inventory']."</a>";
	}
}
if($member['market'])
{
	$member['market'] .= "<br />";
}

?>